//
//  NSObject+Category.swift
//  swift_wobo
//
//  Created by yuxin on 2018/11/19.
//  Copyright © 2018 wuxiantianli. All rights reserved.
//

import UIKit

extension NSObject {
    
    struct Platform {
        static let isSimulator: Bool = {
            var isSim = false
            #if arch(i386) || arch(x86_64)
            isSim = true
            #endif
            return isSim
        }()
    }
}
